POST https://api.pagerduty.com /extensions returns 404

Hi there,

I am trying to create a new extension using the rest api v2 using POST https://api.pagerduty.com/extensions.

It returns a 404
{
“error”: {
“message”: “Not Found”,
“code”: 2100
}
}

Has anyone faced anything similar?

Thanks
Aparna

Hello @aparna.valsala. Thanks for reaching out.

HTTP 404 is not even documented on the API Reference. But I would start by checking if the id on extension_schema and extension_objects exist.

Let me know if this helps!

Thanks for the response, I did verify that before posting the question and double checked after you mentioned as well, its all the correct, but the api call would still not work

Thanks everyone, it was user error :see_no_evil:
I had mis-typed the serviceID and all this while I was checking the extension_schema.